﻿#ifndef TELEVISION_H
#define TELEVISION_H

#include "aggregate.h"

#include <QVector>
#include <QString>

class WIterator;

class Television : public Aggregate
{
public:
    Television();

    void add(QString channel);

    WIterator * iterator() override;

    void play(int i);

    int getTotalChannelNum();

private:
    QVector<QString> m_channelList;
};

#endif // TELEVISION_H
